#!/bin/bash
sudo apt-get update -y;
sudo apt install wget libpam-google-authenticator -y;

google-authenticator;

echo "do you want init"
read -t 10 -p "y/n: " is_init;

if [[ "${is_init}" == "y" ]];then
    ./init_ssh-authenticator.sh
fi
